package com.cwj.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * spring的配置类
 * @author ACER
 */
@Configuration//定义为配置类
@ComponentScan({"com.cwj.service","com.cwj.dao"})//注解扫描范围
@Import({JdbcConfig.class, MybatisConfig.class})//导入配置类
@EnableTransactionManagement
public class SpringConfig {
}
